package cqrtplm.entity;

import com.ty.basic.entity.CTyEntityBaseDO;
import com.ty.basic.util.TyOtype;
import cqrtplm.constant.RTTableTypeConstant;
import lombok.Data;

import javax.persistence.*;
import java.math.BigInteger;
import java.time.LocalDateTime;
@Data
@Entity
@Table(name = "rt_describe_information_details")
@TyOtype(
        displayName = RTTableTypeConstant.TYPE_DESCRIBE_INFORMATION_DETAILS
)
public class RtDescribeInformationDetailsDO extends CTyEntityBaseDO {

    @Id
    @Column(name = "oid")
    private BigInteger oid;

    @TyOtype(
            name = RTTableTypeConstant.TYPE_DESCRIBE_INFORMATION_DETAILS
    )
    @Column(name = "otype")
    private String otype=RTTableTypeConstant.TYPE_DESCRIBE_INFORMATION_DETAILS;

    @Column(name = "create_user")
    private String createUser;

    @Column(name = "create_user_cname")
    private String createUserCname;

    @Column(name = "created_company_id")
    private String createdCompanyId;

    @Column(name = "dr")
    private Integer dr;

    @Column(name = "owned_company_ids")
    private String ownedCompanyIds;

    @Column(name = "update_user")
    private String updateUser;

    @Column(name = "update_user_cname")
    private String updateUserCname;

    @Column(name = "ver")
    private Integer ver;

    @Column(name = "describe_code")
    private String describeCode;

    @Column(name = "describe_info")
    private String describeInfo;

    @Column(name = "describe_information_code")
    private String describeInformationCode;

    @Column(name = "describe_information_info")
    private String describeInformationInfo;

    @Column(name = "order")
    private Integer order;

    @Column(name = "stop_flag")
    private Boolean stopFlag;

}